Optimal. Leaf size=149 \[ -\frac{a \left (b d^2-a e^2\right ) \left (a+b x^2\right )^{p+1}}{2 b^3 (p+1)}+\frac{\left (b d^2-2 a e^2\right ) \left (a+b x^2\right )^{p+2}}{2 b^3 (p+2)}+\frac{e^2 \left (a+b x^2\right )^{p+3}}{2 b^3 (p+3)}+\frac{2}{5} d e x^5 \left (a+b x^2\right )^p \left (\frac{b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{5}{2},-p;\frac{7}{2};-\frac{b x^2}{a}\right ) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.288477, antiderivative size = 149, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3 \[ -\frac{a \left (b d^2-a e^2\right ) \left (a+b x^2\right )^{p+1}}{2 b^3 (p+1)}+\frac{\left (b d^2-2 a e^2\right ) \left (a+b x^2\right )^{p+2}}{2 b^3 (p+2)}+\frac{e^2 \left (a+b x^2\right )^{p+3}}{2 b^3 (p+3)}+\frac{2}{5} d e x^5 \left (a+b x^2\right )^p \left (\frac{b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{5}{2},-p;\frac{7}{2};-\frac{b x^2}{a}\right ) \]
Antiderivative was successfully verified.
[In] Int[x^3*(d + e*x)^2*(a + b*x^2)^p,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 45.4117, size = 158, normalized size = 1.06 \[ \frac{a^{2} e^{2} \left (a + b x^{2}\right )^{p + 1}}{2 b^{3} \left (p + 1\right )} - \frac{a d^{2} \left (a + b x^{2}\right )^{p + 1}}{2 b^{2} \left (p + 1\right )} - \frac{a e^{2} \left (a + b x^{2}\right )^{p + 2}}{b^{3} \left (p + 2\right )} + \frac{2 d e x^{5} \left (1 + \frac{b x^{2}}{a}\right )^{- p} \left (a + b x^{2}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{5}{2} \\ \frac{7}{2} \end{matrix}\middle |{- \frac{b x^{2}}{a}} \right )}}{5} + \frac{d^{2} \left (a + b x^{2}\right )^{p + 2}}{2 b^{2} \left (p + 2\right )} + \frac{e^{2} \left (a + b x^{2}\right )^{p + 3}}{2 b^{3} \left (p + 3\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**3*(e*x+d)**2*(b*x**2+a)**p,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.301101, size = 241, normalized size = 1.62 \[ \frac{\left (a+b x^2\right )^p \left (\frac{b x^2}{a}+1\right )^{-p} \left (5 \left (2 a^3 e^2 \left (\left (\frac{b x^2}{a}+1\right )^p-1\right )-a^2 b \left (d^2 (p+3) \left (\left (\frac{b x^2}{a}+1\right )^p-1\right )+2 e^2 p x^2 \left (\frac{b x^2}{a}+1\right )^p\right )+b^3 (p+1) x^4 \left (\frac{b x^2}{a}+1\right )^p \left (d^2 (p+3)+e^2 (p+2) x^2\right )+a b^2 p x^2 \left (\frac{b x^2}{a}+1\right )^p \left (d^2 (p+3)+e^2 (p+1) x^2\right )\right )+4 b^3 d e \left (p^3+6 p^2+11 p+6\right ) x^5 \, _2F_1\left (\frac{5}{2},-p;\frac{7}{2};-\frac{b x^2}{a}\right )\right )}{10 b^3 (p+1) (p+2) (p+3)} \]
Antiderivative was successfully verified.
[In] Integrate[x^3*(d + e*x)^2*(a + b*x^2)^p,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.075, size = 0, normalized size = 0. \[ \int{x}^{3} \left ( ex+d \right ) ^{2} \left ( b{x}^{2}+a \right ) ^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^3*(e*x+d)^2*(b*x^2+a)^p,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \frac{{\left (b^{2}{\left (p + 1\right )} x^{4} + a b p x^{2} - a^{2}\right )}{\left (b x^{2} + a\right )}^{p} d^{2}}{2 \,{\left (p^{2} + 3 \, p + 2\right )} b^{2}} + \int{\left (e^{2} x^{5} + 2 \, d e x^{4}\right )}{\left (b x^{2} + a\right )}^{p}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x + d)^2*(b*x^2 + a)^p*x^3,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (e^{2} x^{5} + 2 \, d e x^{4} + d^{2} x^{3}\right )}{\left (b x^{2} + a\right )}^{p}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x + d)^2*(b*x^2 + a)^p*x^3,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 93.3054, size = 1386, normalized size = 9.3 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**3*(e*x+d)**2*(b*x**2+a)**p,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (e x + d\right )}^{2}{\left (b x^{2} + a\right )}^{p} x^{3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x + d)^2*(b*x^2 + a)^p*x^3,x, algorithm="giac")
[Out]